 /**
 * Created by yy on 2017/7/28.
 */
$(function(){
    var url1 = location.search;
    if (url1.indexOf("?") != -1) {
        var id = url1.substr(4);}
    var url2 = server + '/server/business/workMessageRest/detail/'+id+'.json';
    $.post(url2, function(data){
        var ctx = template('./job-details-tpl', data);
        $("#job-details").html(ctx);
    });

});
